﻿namespace Yom.Model
{
    using System;

    /// <summary>
    /// 章节实体对象
    /// 
    /// 创建: 邱柯皓 2009/01/19 08:25
    /// </summary>
    public class Chapter
    {
        #region 私有成员定义
        private long _ChapterID;
        private long _VolumeID;
        private string _ImgPath;
        private int _OrderID;
        #endregion

        #region 成员属性暴露
        /// <summary>
        /// 章节编号
        /// </summary>
        public long ChapterID { get { return this._ChapterID; } set { this._ChapterID = value; } }

        /// <summary>
        /// 所属分卷编号
        /// </summary>
        public long VolumeID { get { return this._VolumeID; } set { this._VolumeID = value; } }

        /// <summary>
        /// 漫画图片保存路径
        /// </summary>
        public string ImgPath { get { return this._ImgPath; } set { this._ImgPath = value; } }

        /// <summary>
        /// 章节排序编号
        /// </summary>
        public int OrderID { get { return this._OrderID; } set { this._OrderID = value; } }
        #endregion

        #region 构造函数
        public Chapter() { }

        public Chapter(long chapterID, long volumeID, string imgPath, int orderID)
        {
            this._ChapterID = chapterID;
            this._VolumeID = volumeID;
            this._ImgPath = imgPath;
            this._OrderID = orderID;
        }
        #endregion
    }
}